Update tests
diff --git a/css-animations-1/animation-delay-004.html b/css-animations-1/animation-delay-004.html new file mode 100644 index 0000000..0c1be46 --- /dev/null +++ b/css-animations-1/animation-delay-004.html
@@ -0,0 +1,28 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Animations Test: animation-delay - ::after</title> +<link rel="author" title="Intel" href="http://www.intel.com"> +<link rel="help" href="http://dev.w3.org/csswg/css-animations-1/#animation-delay"> +<meta name="assert" content="Check if animation-delay value impacts the after pseudo element"> +<style> + div::after { + content: "pseudoElement"; + position: relative; + animation-name: sample; + animation-duration: 5s; + animation-delay: 2s; + } + @keyframes sample { + from { + left: 0px; + } + to { + left: 150px; + } + } +</style> +<body> + <p>Test passes if the 'pseudoElement' moves towards right after 2 seconds when the page is loaded.</p> + <div></div> +</body> + diff --git a/css-animations-1/animation-delay-005.html b/css-animations-1/animation-delay-005.html new file mode 100644 index 0000000..669e5ac --- /dev/null +++ b/css-animations-1/animation-delay-005.html
@@ -0,0 +1,28 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Animations Test: animation-delay - ::before</title> +<link rel="author" title="Intel" href="http://www.intel.com"> +<link rel="help" href="http://dev.w3.org/csswg/css-animations-1/#animation-delay"> +<meta name="assert" content="Check if animation-delay value impacts the before pseudo element"> +<style> + div::before { + content: "pseudoElement"; + position: relative; + animation-name: sample; + animation-duration: 5s; + animation-delay: 2s; + } + @keyframes sample { + from { + left: 0px; + } + to { + left: 150px; + } + } +</style> +<body> + <p>Test passes if the 'pseudoElement' moves towards right after 2 seconds when the page is loaded.</p> + <div></div> +</body> + diff --git a/css-animations-1/animation-delay-pseudo-after.html b/css-animations-1/animation-delay-pseudo-after.html deleted file mode 100644 index da64b44..0000000 --- a/css-animations-1/animation-delay-pseudo-after.html +++ /dev/null
@@ -1,31 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS3 Animations Test: animation-delay - ::after</title> -<link rel="author" title="Intel" href="http://www.intel.com"> -<link rel="help" href="http://www.w3.org/TR/css3-animations/#animation-delay-property"> -<meta name="flags" content=""> -<meta name="assert" content="Check if animation-delay value impacts the after pseudo element"> -<style> - #test::after { - content: "::after" - } - #test { - position: relative; - animation-name: sample; - animation-duration: 5s; - animation-delay: 1s; - } - @keyframes sample { - from { - left: 150px; - } - to { - left: 0px; - } - } -</style> -<body> - <p>Test passes if the 'animation-delay::after' moves from right to left.</p> - <div id="test">animation-delay</div> -</body> - diff --git a/css-animations-1/animation-delay-pseudo-before.html b/css-animations-1/animation-delay-pseudo-before.html deleted file mode 100644 index 3f4173b..0000000 --- a/css-animations-1/animation-delay-pseudo-before.html +++ /dev/null
@@ -1,31 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS3 Animations Test: animation-delay - ::before</title> -<link rel="author" title="Intel" href="http://www.intel.com"> -<link rel="help" href="http://www.w3.org/TR/css3-animations/#animation-delay-property"> -<meta name="flags" content=""> -<meta name="assert" content="Check if animation-delay value impacts the before pseudo element"> -<style> - #test::before { - content: "before::" - } - #test { - position: relative; - animation-name: sample; - animation-duration: 5s; - animation-delay: 1s; - } - @keyframes sample { - from { - left: 150px; - } - to { - left: 0px; - } - } -</style> -<body> - <p>Test passes if the 'before::animation-delay' moves from right to left.</p> - <div id="test">animation-delay</div> -</body> -